package com.econ.powercloud.ems.dal.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.*;

/**
 * <p>
 * 移峰填谷详情表
 * </p>
 *
 * @author AutoGenerator
 * @since 2021-07-22
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class EmsPeakShiftDetail extends Model {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 移峰填谷ID
     */
    private String peakShiftId;

    /**
     * 充放电
     */
    private Integer chargeDischarge;

    /**
     * 功率
     */
    private Double power;

    /**
     * 开始时间(分钟数)
     */
    private Integer startTime;

    /**
     * 结束时间(分钟数)
     */
    private Integer endTime;


}
